package com.example.demo;

import java.util.ArrayList;
import java.util.Scanner;

public class Atms {
    public static void main(String[] args){
        ArrayList<Object> objects = new ArrayList<>();
        Scanner sc = new Scanner(System.in);
        while (true) {
            System.out.println("-----------ATM----------------");
            System.out.println("1/denlug");
            System.out.println("2/kaihu");
            System.out.println("xuanzecaozuo");
            int comand = sc.nextInt();
            switch (comand){
                case 1:
                    System.out.println("xuanzele1");
                    break;
                case 2:
                    break;
                default:
                    System.out.println("budui");
            }
        }

    }
}
